
<html>

<head>
	<include file="public@head" title="单页管理" keywords="后台管理系统" />
</head>

<body class="layui-layout-admin">
	<include file="public@header" />
	<include file="public@side" />

	<div class="layui-body">
		<div class="layui-breadcrumb" lay-filter="breadcrumb">
			<a href="{:url('tdadmin/index/index')}">主页</a>
			<a>内容管理</a>
			<a href="{:url('tdadmin/page/index')}"><cite>单页管理</cite></a>
		</div>
		<div class="layui-fluid">
			<div class="layui-card">
				<div class="layui-card-header">
					单页列表
					<div class="layui-btn-group fr">
						<a class="layui-btn layui-btn-sm layui-btn-normal" href="{:url('tdadmin/page/add')}">添加单页</a>
					</div>
				</div>
				<div class="layui-card-body">
					<table class="layui-table">
						<thead>
							<tr>
								<th width="60">ID</th>
								<th>标题</th>
								<th width="100">阅读量</th>
								<th width="120">关键字</th>
								<th width="160">创建时间</th>
								<th width="160">更新时间</th>
								<th width="100">操作</th>
							</tr>
						</thead>
						<tbody>
							<foreach name="pages" item="vo">
								<tr>
									<td>{$vo.id}</td>
									<td>{$vo.title}</td>
									<td>{$vo.hits}</td>
									<td>{$vo.keywords}</td>
									<td>{$vo.create_time}</td>
									<td>{$vo.update_time}</td>
									<td>
										<a class="layui-btn layui-btn-sm layui-btn-warm" href="{:url('page/edit',array('id'=>$vo['id']))}"><i class="layui-icon">&#xe642;</i></a>
									</td>
								</tr>
							</foreach>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
	<include file="public@scripts" />
</body>

</html>
